package cn.lix.sc.rpc.service.demo.dto;

public class User {

    public User(Integer id, String name, Boolean study) {
        this.id = id;
        this.name = name;
        this.study = study;
    }

    public User() {
    }

    Integer id;

    String name;

    Boolean study;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Boolean getStudy() {
        return study;
    }

    public void setStudy(Boolean study) {
        this.study = study;
    }

    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", study=" + study +
                '}';
    }
}
